<ul class="horizontal navigation" id="leftactiontabs">
	<?php if (isset($this->layout()->menuPrincipal)) : ?>
		<?php $submenus = $this->layout()->menuPrincipal->getPages(); ?>
		<?php foreach ($submenus as $submenu) :  ?>
			<li class="tab action <?php echo ($submenu->isActive()) ? "active" : ''; ?>">
				<a href="<?php echo $submenu->getHref();?>" class="tab action <?php echo ($submenu->isActive()) ? "active" : ''; ?>">
					<span class="left"></span>
					<?php echo $this->translate($submenu->getLabel()); ?>
					<span class="right"></span>
				</a>
			</li>
		<?php endforeach; ?>
	<?php endif; ?>
</ul>
<ul class="horizontal navigation" id="rightactiontabs"></ul>
<div class="clear"></div>